﻿using HorseRaceTracker.Domain.Core;

namespace HorseRaceTracker.Application.DTO
{
    internal class CountryInfoAssembler
    {
        public CountryInfo CountryInfo { get; private set;}

        public CountryInfoAssembler()
        {
            CountryInfo= new CountryInfo();
        }
        public CountryInfoAssembler AddCountry(Country country)
        {
            CountryInfo.Code = country.Code;
            CountryInfo.Name = country.Name;
            return this;
        }
    }
}